/**
 * Created by Administrator on 2017/1/13.
 */
import {Component} from "@angular/core";

@Component({
  selector:"dj-menu",
  templateUrl:"./menu.html",
  styleUrls:["./menu.less"]
})

export class DJMenu{
  sideBarFlag : boolean;
  sideBarConFlag : boolean;
  showSidebar():void{
    this.sideBarFlag=true;
    setTimeout(()=>{
      this.sideBarConFlag=true;
    },400);
  }
  //关闭侧边栏
  closeSlidebar():void{
    this.sideBarFlag=false;
    this.sideBarConFlag=false;
  }

}
